import 'package:json_annotation/json_annotation.dart';

part 'CommodityItem.g.dart';

@JsonSerializable()
class CommodityItem {
  CommodityItem();

  String? commoditySkuName;
  String? commoditySkuImage;
  double? commoditySkuPrice;
  int? commoditySkuNum;
  double? commoditySkuTotalPrice;
  String? commodityName;
  
  factory CommodityItem.fromJson(Map<String,dynamic> json) => _$CommodityItemFromJson(json);
  Map<String, dynamic> toJson() => _$CommodityItemToJson(this);
}
